Skip to content

conditionally republish video on resume#388

Open
luukschipperheyn wants to merge 1 commit intoblackuy:masterfrom
luukschipperheyn:conditional-republish
Open

conditionally republish video on resume#388
luukschipperheyn wants to merge 1 commit intoblackuy:masterfrom
luukschipperheyn:conditional-republish

Conversation

@luukschipperheyn
Copy link
Contributor

When app returns from background, video should only be republished if it was published before.
Unconditionally publishing video upon returning to the app can be unwanted behavior for apps that need local video to be unpublished.

Copy link
Collaborator

@slycoder slycoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, this seems like a good fix but the video gets published by default in onConnected so you'll need to set isLocalVideoPublished there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants